JavaScript Program to Check Whether a String is Palindrome or Not